<?php
namespace app\admin\model;

use think\model\concern\SoftDelete;

class Plugin extends Base
{

    protected $title='插件';
    protected $power='plugin';


    protected $type = [
        'setting'=>'array',
    ];

    public function getFrozenAttr($value)
    {
        return $value == '1'?'关闭':'启用';
    }
}